<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>AmusementCreatorsEngine: クラス ace::BinaryWriter</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">AmusementCreatorsEngine
   </div>
   <div id="projectbrief">The game engine developed by Staff of AmusementCreators</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 作成： Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'検索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>メインページ</span></a></li>
      <li><a href="../../namespaces.html"><span>ネームスペース</span></a></li>
      <li class="current"><a href="../../annotated.html"><span>クラス</span></a></li>
      <li><a href="../../files.html"><span>ファイル</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="検索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../annotated.html"><span>構成</span></a></li>
      <li><a href="../../classes.html"><span>構成索引</span></a></li>
      <li><a href="../../hierarchy.html"><span>クラス階層</span></a></li>
      <li><a href="../../functions.html"><span>構成メンバ</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全て</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>クラス</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>ネームスペース</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>関数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>変数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>型定義</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>列挙型</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>列挙型の値</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>フレンド</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../d8/d23/namespaceace.html">ace</a></li><li class="navelem"><a class="el" href="../../d6/dc9/classace_1_1_binary_writer.html">BinaryWriter</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public メソッド</a> &#124;
<a href="#pro-attribs">Protected 変数</a> &#124;
<a href="../../d9/dc3/classace_1_1_binary_writer-members.html">すべてのメンバ一覧</a>  </div>
  <div class="headertitle">
<div class="title">クラス ace::BinaryWriter</div>  </div>
</div><!--header-->
<div class="contents">

<p>数値、文字列をバイト列にシリアライズし、ファイルに書き出すクラス  対応する型はint32_t, int16_t, int8_t, std::string, astring, achar*  
 <a href="../../d6/dc9/classace_1_1_binary_writer.html#details">[詳細]</a></p>

<p><code>#include &lt;<a class="el" href="../../df/d3a/ace_8_binary_writer_8h_source.html">ace.BinaryWriter.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public メソッド</h2></td></tr>
<tr class="memitem:a41f53375f0e2cccecfe47077605a93a7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dc9/classace_1_1_binary_writer.html#a41f53375f0e2cccecfe47077605a93a7">Reserve</a> (size_t size)</td></tr>
<tr class="memdesc:a41f53375f0e2cccecfe47077605a93a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">扱うデータが大きいことが予想される場合にあらかじめ容量を確保する  <a href="#a41f53375f0e2cccecfe47077605a93a7">[詳細]</a><br/></td></tr>
<tr class="separator:a41f53375f0e2cccecfe47077605a93a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a86ed905c467d1d4d64ef43c01a2175"><td class="memItemLeft" align="right" valign="top">std::vector&lt; int8_t &gt; const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dc9/classace_1_1_binary_writer.html#a6a86ed905c467d1d4d64ef43c01a2175">Get</a> () const </td></tr>
<tr class="memdesc:a6a86ed905c467d1d4d64ef43c01a2175"><td class="mdescLeft">&#160;</td><td class="mdescRight">シリアライズされたバイト列をconst参照で返す。  <a href="#a6a86ed905c467d1d4d64ef43c01a2175">[詳細]</a><br/></td></tr>
<tr class="separator:a6a86ed905c467d1d4d64ef43c01a2175"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a446a998ba5c9175bebe0ef2fc53e1bcf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dc9/classace_1_1_binary_writer.html#a446a998ba5c9175bebe0ef2fc53e1bcf">Push</a> (int32_t content)</td></tr>
<tr class="memdesc:a446a998ba5c9175bebe0ef2fc53e1bcf"><td class="mdescLeft">&#160;</td><td class="mdescRight">int32_tをシリアライズし、バイト列の末尾に追加する  <a href="#a446a998ba5c9175bebe0ef2fc53e1bcf">[詳細]</a><br/></td></tr>
<tr class="separator:a446a998ba5c9175bebe0ef2fc53e1bcf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adffd22cfa2efcfbe839f83041595ade1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dc9/classace_1_1_binary_writer.html#adffd22cfa2efcfbe839f83041595ade1">Push</a> (int16_t content)</td></tr>
<tr class="memdesc:adffd22cfa2efcfbe839f83041595ade1"><td class="mdescLeft">&#160;</td><td class="mdescRight">int16_tをシリアライズし、バイト列の末尾に追加する  <a href="#adffd22cfa2efcfbe839f83041595ade1">[詳細]</a><br/></td></tr>
<tr class="separator:adffd22cfa2efcfbe839f83041595ade1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5b486588fb4167efd848a9fc8c62f78"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dc9/classace_1_1_binary_writer.html#ac5b486588fb4167efd848a9fc8c62f78">Push</a> (int8_t content)</td></tr>
<tr class="memdesc:ac5b486588fb4167efd848a9fc8c62f78"><td class="mdescLeft">&#160;</td><td class="mdescRight">int8_tをシリアライズし、バイト列の末尾に追加する  <a href="#ac5b486588fb4167efd848a9fc8c62f78">[詳細]</a><br/></td></tr>
<tr class="separator:ac5b486588fb4167efd848a9fc8c62f78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2ca0181062e66b6cb84bd54f1ede546"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dc9/classace_1_1_binary_writer.html#ac2ca0181062e66b6cb84bd54f1ede546">Push</a> (std::string const &amp;content)</td></tr>
<tr class="memdesc:ac2ca0181062e66b6cb84bd54f1ede546"><td class="mdescLeft">&#160;</td><td class="mdescRight">std::stringをシリアライズし、バイト列の末尾に追加する  <a href="#ac2ca0181062e66b6cb84bd54f1ede546">[詳細]</a><br/></td></tr>
<tr class="separator:ac2ca0181062e66b6cb84bd54f1ede546"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05b854419cd11fdb194a8264db905f6b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dc9/classace_1_1_binary_writer.html#a05b854419cd11fdb194a8264db905f6b">Push</a> (ace::astring const &amp;content)</td></tr>
<tr class="memdesc:a05b854419cd11fdb194a8264db905f6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">astringをシリアライズし、バイト列の末尾に追加する  <a href="#a05b854419cd11fdb194a8264db905f6b">[詳細]</a><br/></td></tr>
<tr class="separator:a05b854419cd11fdb194a8264db905f6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6317ab51fc9a2410f05cbf63fb16e034"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dc9/classace_1_1_binary_writer.html#a6317ab51fc9a2410f05cbf63fb16e034">Push</a> (ace::achar const *content, int32_t size)</td></tr>
<tr class="memdesc:a6317ab51fc9a2410f05cbf63fb16e034"><td class="mdescLeft">&#160;</td><td class="mdescRight">achar*をシリアライズし、バイト列の末尾に追加する  <a href="#a6317ab51fc9a2410f05cbf63fb16e034">[詳細]</a><br/></td></tr>
<tr class="separator:a6317ab51fc9a2410f05cbf63fb16e034"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abad61f3180838d6d0714dc39fac2113f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dc9/classace_1_1_binary_writer.html#abad61f3180838d6d0714dc39fac2113f">WriteOut</a> (std::ostream &amp;os) const </td></tr>
<tr class="memdesc:abad61f3180838d6d0714dc39fac2113f"><td class="mdescLeft">&#160;</td><td class="mdescRight">保持しているバイト列をストリームに書き出す。  <a href="#abad61f3180838d6d0714dc39fac2113f">[詳細]</a><br/></td></tr>
<tr class="separator:abad61f3180838d6d0714dc39fac2113f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacc4b423a96e044ff2fd144fb0537762"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dc9/classace_1_1_binary_writer.html#aacc4b423a96e044ff2fd144fb0537762">WriteOut</a> (std::string const &amp;filename, bool isAppend=false) const </td></tr>
<tr class="memdesc:aacc4b423a96e044ff2fd144fb0537762"><td class="mdescLeft">&#160;</td><td class="mdescRight">保持しているバイト列をファイルに書き出す。  <a href="#aacc4b423a96e044ff2fd144fb0537762">[詳細]</a><br/></td></tr>
<tr class="separator:aacc4b423a96e044ff2fd144fb0537762"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa74e113ca7633c0752d83f8f9c3673ef"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa74e113ca7633c0752d83f8f9c3673ef"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dc9/classace_1_1_binary_writer.html#aa74e113ca7633c0752d83f8f9c3673ef">~BinaryWriter</a> ()</td></tr>
<tr class="memdesc:aa74e113ca7633c0752d83f8f9c3673ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">デストラクタ <br/></td></tr>
<tr class="separator:aa74e113ca7633c0752d83f8f9c3673ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 変数</h2></td></tr>
<tr class="memitem:ac5b23a540962b117bcd39cf11c2b3c83"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac5b23a540962b117bcd39cf11c2b3c83"></a>
std::vector&lt; int8_t &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dc9/classace_1_1_binary_writer.html#ac5b23a540962b117bcd39cf11c2b3c83">m_data</a></td></tr>
<tr class="memdesc:ac5b23a540962b117bcd39cf11c2b3c83"><td class="mdescLeft">&#160;</td><td class="mdescRight">シリアライズされたバイト列 <br/></td></tr>
<tr class="separator:ac5b23a540962b117bcd39cf11c2b3c83"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">説明</h2>
<div class="textblock"><p>数値、文字列をバイト列にシリアライズし、ファイルに書き出すクラス  対応する型はint32_t, int16_t, int8_t, std::string, astring, achar* </p>
<dl class="section warning"><dt>警告</dt><dd>エンディアンは現状非互換、正当性の検査等はないので、 データを読み出す際はBinaryReaderで*書き出した順に*読み出すこと </dd></dl>
</div><h2 class="groupheader">関数</h2>
<a class="anchor" id="a6a86ed905c467d1d4d64ef43c01a2175"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;int8_t&gt; const&amp; ace::BinaryWriter::Get </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>シリアライズされたバイト列をconst参照で返す。 </p>
<dl class="section warning"><dt>警告</dt><dd>本クラスのインスタンスより寿命を長く取る際はコピーなどして懸垂参照を避けること </dd></dl>

</div>
</div>
<a class="anchor" id="a446a998ba5c9175bebe0ef2fc53e1bcf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ace::BinaryWriter::Push </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>content</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>int32_tをシリアライズし、バイト列の末尾に追加する </p>
<dl class="params"><dt>引数</dt><dd>
  <table class="params">
    <tr><td class="paramname">content</td><td>シリアライズする整数 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="adffd22cfa2efcfbe839f83041595ade1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ace::BinaryWriter::Push </td>
          <td>(</td>
          <td class="paramtype">int16_t&#160;</td>
          <td class="paramname"><em>content</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>int16_tをシリアライズし、バイト列の末尾に追加する </p>
<dl class="params"><dt>引数</dt><dd>
  <table class="params">
    <tr><td class="paramname">content</td><td>シリアライズする整数 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac5b486588fb4167efd848a9fc8c62f78"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ace::BinaryWriter::Push </td>
          <td>(</td>
          <td class="paramtype">int8_t&#160;</td>
          <td class="paramname"><em>content</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>int8_tをシリアライズし、バイト列の末尾に追加する </p>
<dl class="params"><dt>引数</dt><dd>
  <table class="params">
    <tr><td class="paramname">content</td><td>シリアライズする整数 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac2ca0181062e66b6cb84bd54f1ede546"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ace::BinaryWriter::Push </td>
          <td>(</td>
          <td class="paramtype">std::string const &amp;&#160;</td>
          <td class="paramname"><em>content</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>std::stringをシリアライズし、バイト列の末尾に追加する </p>
<dl class="params"><dt>引数</dt><dd>
  <table class="params">
    <tr><td class="paramname">content</td><td>シリアライズする文字列 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a05b854419cd11fdb194a8264db905f6b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ace::BinaryWriter::Push </td>
          <td>(</td>
          <td class="paramtype">ace::astring const &amp;&#160;</td>
          <td class="paramname"><em>content</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>astringをシリアライズし、バイト列の末尾に追加する </p>
<dl class="params"><dt>引数</dt><dd>
  <table class="params">
    <tr><td class="paramname">content</td><td>シリアライズする文字列 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6317ab51fc9a2410f05cbf63fb16e034"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ace::BinaryWriter::Push </td>
          <td>(</td>
          <td class="paramtype">ace::achar const *&#160;</td>
          <td class="paramname"><em>content</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>achar*をシリアライズし、バイト列の末尾に追加する </p>
<dl class="params"><dt>引数</dt><dd>
  <table class="params">
    <tr><td class="paramname">content</td><td>シリアライズする文字列の先頭ポインタ </td></tr>
    <tr><td class="paramname">size</td><td>シリアライズする文字列のサイズ </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a41f53375f0e2cccecfe47077605a93a7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ace::BinaryWriter::Reserve </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>扱うデータが大きいことが予想される場合にあらかじめ容量を確保する </p>
<dl class="params"><dt>引数</dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>確保するサイズ </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="abad61f3180838d6d0714dc39fac2113f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool ace::BinaryWriter::WriteOut </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>os</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>保持しているバイト列をストリームに書き出す。 </p>
<dl class="params"><dt>引数</dt><dd>
  <table class="params">
    <tr><td class="paramname">os</td><td>書き出すストリーム </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>戻り値</dt><dd>成功すればtrue, 失敗すればfalse </dd></dl>

</div>
</div>
<a class="anchor" id="aacc4b423a96e044ff2fd144fb0537762"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool ace::BinaryWriter::WriteOut </td>
          <td>(</td>
          <td class="paramtype">std::string const &amp;&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>isAppend</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>保持しているバイト列をファイルに書き出す。 </p>
<dl class="params"><dt>引数</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>書き出すファイル名 </td></tr>
    <tr><td class="paramname">isAppend</td><td>追記するか否か </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>戻り値</dt><dd>成功すればtrue, 失敗すればfalse </dd></dl>

</div>
</div>
<hr/>このクラスの説明は次のファイルから生成されました:<ul>
<li>Dev/ace_cpp/common/Utility/<a class="el" href="../../df/d3a/ace_8_binary_writer_8h_source.html">ace.BinaryWriter.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
AmusementCreatorsEngineに対してTue Oct 22 2013 03:13:01に生成されました。 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>
